<!DOCTYPE html>
<html>
<#include "../head.html">
<body class="full">
<div class="mc">
    <div class="mc-l">
        <!--左侧导航---{-->
        <div id="navPanelContainer">
            <div class="system-logo cd"></div>
            <!--管理员信息---{-->
            <#include "../adminInfo.html">
                <!--管理员信息---}-->
                <div class="nav-wrap">
                    <#include "left.html">
                </div>
        </div>
        <!--左侧导航---}-->
    </div>
    <div class="mc-m">
        <div class="navToggle"></div>
    </div>
    <div class="mc-r">
        <!--顶部导航---{-->
        <#include "../topNav.html">
            <!--顶部导航---}-->

            <!--面包屑导航---{-->
            <#assign moduleName="跳转路径管理">
                <#include "banner.html">
                    <!--面包屑导航---}-->

                    <!--工具栏--{-->
                    <div id="toolbar" class="clearfix">
                        <div class="toolbor-module search">
                            <a href="/admin/system/addLocationUrl.html" class="input-button" style="width: 120px;">+新增跳转路径</a>
                        </div>
                    </div>
                    <!--工具栏--}-->

                    <div id="main" class="clearfix">
                        <form action="" method="post">
                            <table class="data-list">
                                <tr class="header">
                                    <td>ID</td>
                                    <td>入驻商</td>
                                    <td>跳转路径</td>
                                    <td>操作</td>
                                </tr>
                                <#if list??>
                                    <#list list as item>
                                        <tr class="s">
                                            <td>${item.id!}</td>
                                            <td>${item.franchisee.name?if_exists}</td>
                                            <td>${item.url!}</td>
                                            <td>
                                                <dd><a href="/admin/system/modifyLocationUrl.html?id=${item.id?c}">修改</a></dd>
                                                <dd><a href="/admin/system/deleteLocationUrl.html?id=${item.id?c}">删除</a></dd>
                                            </td>
                                        </tr>
                                    </#list>
                                </#if>
                            </table>
                        </form>

                        <!--底部工具栏--{-->
                        <div id="bottomToolbar" class="clearfix">
                            <div class="other-tool">
                                <dl class="refresh-data">
                                    <dt class="refresh-data-icon"></dt>
                                    <dd><a href="javascript:void(0);" class="refresh-page">刷新数据</a></dd>
                                </dl>
                            </div>

                            <!--翻页系统--{-->
                            <!-- <div class="container s_formPage">
                                <#import "../../../common/page.html" as pager>
                                    <@pager.pagination page=page url="${pageUrl}" map=param style="style1" />
                            </div> -->
                            <!--翻页系统--}-->
                        </div>
                        <!--底部工具栏--}-->

                        <script>
                            var urls = '?search=true';
                            function search(){
                                var userName = $("#franchiseeId").val();
                                if (userName!=null && userName!="请输入入驻商"){
                                    urls += "&franchiseeId="+franchiseeId;
                                }
                                location.href=urls;
                            }

                        </script>
                    </div>
    </div>
</div>
<div class="mc-b"><#include "../foot.html"></div>
<#include "../jsPage.html">
</body>
</html>
